﻿<?php include 'header.php'; ?>
<!-- entry -->
<div class="posts">
	<p class="ing"><?php include 'ing.php'; ?></p>
	<div class="postinfo">
		<h2 id="post-<?php echo $post->id; ?>">
			<a class="icon" title="<?php echo $post->title; ?>">»</a>
			<a href="<?php echo $post->permalink; ?>" title="<?php echo $post->title; ?>"><?php echo $post->title_out; ?></a>
		</h2>
		<span class="alignleft">
			<a class="icon" title="Date Time">☀</a><?php echo $post->pubdate_out; ?> 
			<a class="icon" title="Tags"> ❐</a><?php if ( is_array( $post->tags ) ) { echo $post->tags_out; } ?>
			<?php if ( $user ) { ?> 
			<a class="icon" title="Edit"> ✎</a><a href="<?php URL::out( 'admin', 'page=publish&slug=' . $post->slug); ?>" title="Edit post">Edit</a>
			<?php } ?>
		</span>
		<span class="alignright">
			<a href="<?php echo $post->permalink; ?>" title="Comment on this post"><strong><?php echo $post->comments->approved->count; ?></strong> <?php echo _n( 'Comment', 'Comments', $post->comments->approved->count ); ?></a>
		</span>
	</div>
	<?php echo $post->content_out; ?>

	<div class="postmeta">
		<a class="icon">【</a><a href="<?php echo $post->comment_feed_link; ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a>	<a href="#" rel="trackback">TrackBack <abbr title="Universal Resource Locator">URL</abbr></a> <a class="icon">】</a>
	</div><!-- End postmeta -->
	
	<div class="navigation">
		<div class="alignleft">« <a href="#">jquery 1.1.4 release</a></div>
		<div class="alignright"><a href="#">介绍一个压缩css的在线工具</a> »</div>
	</div><!-- End navigation -->
	<div id="clear"></div>	
	
	<?php include 'comments.php'; ?>

</div><!-- /posts -->
  
<?php include 'sidebar.php'; ?>
<!-- /entry.single -->
<?php include 'footer.php'; ?>
